<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ include file="../base.jsp" %>
<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>正达建筑设计院图纸管理系统</title>
    <meta name="description" content="AdminLTE2定制版">
    <meta name="keywords" content="AdminLTE2定制版">
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,role-scalable=no" name="viewport">
</head>
<body>
<div id="frameContent" class="content-wrapper" style="margin-left:0px;">
    <section class="content-header">
        <h1>
            系统管理
            <small>用户管理</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="${ctx}/role/list">用户列表</a></li>
        </ol>
    </section>

    <!-- 正文区域 -->
    <section class="content">

        <!--表单信息-->
        <div class="panel panel-default">
            <div class="panel-heading">角色信息</div>
            <form id="editForm" action="${ctx}/role/save" method="post">
                <input type="hidden" id="id" name="id" value="">
                <div class="row data-type" style="margin: 0px">

                    <div class="col-md-2 title">角色名称</div>
                    <div class="col-md-4 data">
                        <input type="text" class="form-control" placeholder="角色名称" name="name">
                    </div>
                    <div class="col-md-2 title">角色描述</div>
                    <div class="col-md-4 data">
                        <input type="text" class="form-control" placeholder="角色描述" name="remark">
                    </div>

                </div>
            </form>
        </div>
        <!--工具栏-->
        <div class="box-tools text-center">
            <button type="button" onclick='document.getElementById("editForm").submit()' class="btn bg-maroon">保存</button>
            <button type="button" class="btn bg-default" onclick="history.back(-1);">返回</button>
        </div>
    </section>
</div>
<!-- 内容区域 /-->
</body>
<script src="${ctx}/plugins/datepicker/bootstrap-datepicker.js"></script>
<script src="${ctx}/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<link rel="stylesheet" href="${ctx}/css/style.css">
</html>